<?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\ActiveForm;
?>
<!-- 标签编辑 -->
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title">编辑</h4>
      </div>
      
      <?php $form = ActiveForm::begin(['options'=>['class'=>'form-horizontal'],'action' => ['operate/editlable'],'method'=>'post',]); ?>
      <div class="modal-body">
            
            <div class="form-group "> 
             <label class="col-md-4 control-label" for="field_title">标签名</label>
              <div class="col-md-6 controls">
              <input type="hidden" name="artlable_id" value="<?php echo $db['artlable_id']?>">
              <input data-explain="" data-widget-cid="widget-1" name="artlable_name" id="field_title" class="form-control" value="<?php echo $db['artlable_name']?>" type="text">
              <div class="help-block" style="display:none;"></div></div>
            </div>
            <div class="form-group "> 
             <label class="col-md-4 control-label" for="field_seq">显示序号</label>
              <div class="col-md-6 controls">
              <input data-explain="" data-widget-cid="widget-2" name="artlable_sort" id="field_seq" class="form-control" value="<?php echo $db['artlable_sort']?>" type="text">
              <div class="help-block" style="display:none;"></div></div>
            </div>
       </div> 
      
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="submit" class="btn btn-primary" id="add-btn">保存</button>
      </div>
      <?php ActiveForm::end(); ?>
    </div>
  </div>
